// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import request from '@/utils/request'


// 首页数据概览
export function viewModelApi() {
    return request({
        url: '/adminHomePageController/top',
        method: 'GET',
    })
}
// 今日充电次数趋势
export function chargingFrequencyTrend() {
    // return request({
    //     url: '/statistics/chargingFrequencyTrend',
    //     method: 'GET',
    // })
}
// 用户增长趋势
export function userGrowthTrend() {
    return request({
        url: '/adminHomePageController/userGrowthTrend',
        method: 'GET',
    })
}
// 30天充电金额
export function chargingAmount() {
    return request({
        url: 'adminHomePageController/paymentAmount',
        method: 'GET',
    })
}

